Skip to contentSkip to conversation

xserver-kdrive: update to 1.11.1.902

PATCH In review Xiaofeng Yan 3 participants 7 messages Nov 30, 2011

lore
Share & tools
lore
#0 lore raw

cover xserver-kdrive: update to 1.11.1.902

From: Xiaofeng Yan <[email protected]>

Some changes during updating this package.

1 Change keyboard drive mode of start X from keyboard to evdev.
2 Comment some obsolete patches
I didn't remove patches commented by "#". If this new vesion is stable after using or testing. I will remove them.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/update
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/update

Thanks,
Xiaofeng Yan <[email protected]>
---

Xiaofeng Yan (2):
x11-common: Change drive mode of Xfbdev when xserver using
framebuffer
xserver-kdrive: update to 1.11.1.902

 .../x11-common/x11-common/etc/X11/Xserver          |    4 ++-
 .../xorg-xserver/xserver-kdrive_1.11.1.902.bb      |   37 ++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
#1 lore raw

PATCH 1/2 x11-common: Change drive mode of Xfbdev when xserver using framebuffer

From: Xiaofeng Yan <[email protected]>

The previous mode of starting X is as follow:
$Xfbdev :0 -keybd keyboard -mouse tslib
This mode cause that some keys can't be mapped rightly. \
for example "Down" have the same function with "Enter".

another drive mode "evdev" can work rightly in new version. $Xfbdev :0 -keybd evdev,,device=/dev/input/event0 -mouse tslib

So I select drive mode "evdev".

---
 .../x11-common/x11-common/etc/X11/Xserver          |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver +3 -1
index 57923e6..736cd6d 100644
@@ -28,11 +28,13 @@ module_id() {
 
 ARGS=" -br -pn"
 
+KD_DRIVE_KEYBOARD="-keybd keyboard"
+KD_DRIVE_EVDEV="-keybd evdev,,device=/dev/input/event0"
 if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
 
         . /etc/formfactor/config
 
-        ARGS="$ARGS -keybd keyboard"
+        ARGS="$ARGS $KD_DRIVE_EVDEV"
 
         # use usb mouse if present
         if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/input/mice ]; then
Signature · 1 line
1.7.0.4
#2 lore raw

Re: [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer

Op 30 nov. 2011, om 11:33 heeft Xiaofeng Yan het volgende geschreven:

Quoted 9 lines

From: Xiaofeng Yan <[email protected]>

The previous mode of starting X is as follow:
$Xfbdev :0 -keybd keyboard -mouse tslib
This mode cause that some keys can't be mapped rightly. \
for example "Down" have the same function with "Enter".

another drive mode "evdev" can work rightly in new version. $Xfbdev :0 -keybd evdev,,device=/dev/input/event0 -mouse tslib

How do you know that event0 is the keyboard?

#3 lore raw

Re: [PATCH 1/2] x11-common: Change drive mode of Xfbdev when xserver using framebuffer

Quoted 4 lines · Koen Kooi

Op 30 nov. 2011, om 11:33 heeft Xiaofeng Yan het volgende geschreven:

Quoted 2 lines

From: Xiaofeng Yan<[email protected]>

Quoted 8 lines
Quoted 7 lines

The previous mode of starting X is as follow:
$Xfbdev :0 -keybd keyboard -mouse tslib
This mode cause that some keys can't be mapped rightly. \
for example "Down" have the same function with "Enter".

another drive mode "evdev" can work rightly in new version. $Xfbdev :0 -keybd evdev,,device=/dev/input/event0 -mouse tslib

How do you know that event0 is the keyboard?

I get this with qemuarm by test
Do you have better method?

Quoted 6 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#4 lore raw

PATCH 2/2 xserver-kdrive: update to 1.11.1.902

In reply to Xiaofeng Yan

From: Xiaofeng Yan <[email protected]>

I didn't remove the old one because it is possible for the new version to \
have some bugs during using or testing.

Patches are commented by "#". Some of them are obsolete.
keyboard-resume-workaround.patch is used in drive mode of keyboard
crosscompile.patch is to avoid to seach "/etc/X11/fontpath.d" of host during configuring of cross-compiling It is no use in the version.

enable-xcalibrate.patch is to avoid error of compiling tslib. No use in the new version. nodolt.patch is no use too.

other patches are retained.

---
 .../xorg-xserver/xserver-kdrive_1.11.1.902.bb      |   37 ++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb new file +37 -0
new file mode 100644
index 0000000..3980057
@@ -0,0 +1,37 @@
+require xserver-kdrive.inc
+
+DEPENDS += "libxkbfile libxcalibrate font-util pixman"
+
+RDEPENDS_${PN} += "xkeyboard-config"
+
+EXTRA_OECONF += "--disable-glx --enable-unit-tests=no --enable-kdrive-evdev=yes"
+
+PE = "1"
+PR = "r0"
+
+LIC_FILES_CHKSUM  = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00"
+
+SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
+          file://extra-kmodes.patch \
+		  file://disable-apm.patch \
+		  file://no-serial-probing.patch \
+		  file://keyboard-resume-workaround.patch \
+		  file://hide-cursor-and-ppm-root.patch \
+		  file://fbdev_xrandr_ioctl.patch \
+		  file://fix-newer-xorg-headers.patch"
+							        
+#file://keyboard-resume-workaround.patch
+#file://enable-xcalibrate.patch
+#file://crosscompile.patch
+#file://nodolt.patch
+#file://kdrive-evdev.patch
+#file://kdrive-use-evdev.patch
+#file://enable-builtin-fonts.patch
+#file://optional-xkb.patch
+
+SRC_URI[md5sum] = "87dd7958ace0509f6e4da2908c2ee4fd"
+SRC_URI[sha256sum] = "06cb2dffb8d0182c539b154e412b25b98c75d0052cfb16762e7af0d6bf23ec7b"
+
+
+
+S = "${WORKDIR}/xorg-server-${PV}"
Signature · 1 line
1.7.0.4
#5 lore raw
Quoted 4 lines · Xiaofeng Yan

From: Xiaofeng Yan <[email protected]>

I didn't remove the old one because it is possible for the new version to \
have some bugs during using or testing.

Just curious why this version exactly?
There is 1.11.2 release already (1.11.1.902 is 1.11.2 RC2) and there is also RC1 for 1.11.3 or even 1.12 if we want to test RCs.

And Saul IIRC sent xserver-xorg upgrade to 1.11.2 so it would be nice to use the same.

Cheers,

Quoted 68 lines

Patches are commented by "#". Some of them are obsolete.
keyboard-resume-workaround.patch is used in drive mode of keyboard
crosscompile.patch is to avoid to seach "/etc/X11/fontpath.d" of host during configuring of cross-compiling It is no use in the version.

enable-xcalibrate.patch is to avoid error of compiling tslib. No use in the new version. nodolt.patch is no use too.

other patches are retained.

---
 .../xorg-xserver/xserver-kdrive_1.11.1.902.bb      |   37 ++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb
meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb new file +37 -0
new file mode 100644
index 0000000..3980057
@@ -0,0 +1,37 @@
+require xserver-kdrive.inc
+
+DEPENDS += "libxkbfile libxcalibrate font-util pixman"
+
+RDEPENDS_${PN} += "xkeyboard-config"
+
+EXTRA_OECONF += "--disable-glx --enable-unit-tests=no --enable-kdrive-evdev=yes"
+
+PE = "1"
+PR = "r0"
+
+LIC_FILES_CHKSUM  = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00"
+
+SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
+          file://extra-kmodes.patch \
+		  file://disable-apm.patch \
+		  file://no-serial-probing.patch \
+		  file://keyboard-resume-workaround.patch \
+		  file://hide-cursor-and-ppm-root.patch \
+		  file://fbdev_xrandr_ioctl.patch \
+		  file://fix-newer-xorg-headers.patch"
+							        
+#file://keyboard-resume-workaround.patch
+#file://enable-xcalibrate.patch
+#file://crosscompile.patch
+#file://nodolt.patch
+#file://kdrive-evdev.patch
+#file://kdrive-use-evdev.patch
+#file://enable-builtin-fonts.patch
+#file://optional-xkb.patch
+
+SRC_URI[md5sum] = "87dd7958ace0509f6e4da2908c2ee4fd"
+SRC_URI[sha256sum] = "06cb2dffb8d0182c539b154e412b25b98c75d0052cfb16762e7af0d6bf23ec7b"
+
+
+
+S = "${WORKDIR}/xorg-server-${PV}"
Signature · 7 lines
1.7.0.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw
Quoted 5 lines · Martin Jansa
Quoted 4 lines · Xiaofeng Yan

From: Xiaofeng Yan<[email protected]>

I didn't remove the old one because it is possible for the new version to \
have some bugs during using or testing.

Quoted 9 lines

Just curious why this version exactly?
There is 1.11.2 release already (1.11.1.902 is 1.11.2 RC2) and there is also RC1 for 1.11.3 or even 1.12 if we want to test RCs.

And Saul IIRC sent xserver-xorg upgrade to 1.11.2 so it would be nice to use the same.

Cheers,

1.11.1.902 is the newest version when I decided to update xserver-kdrive. I will test 1.11.2 later Thanks

Quoted 73 lines
Quoted 67 lines

Patches are commented by "#". Some of them are obsolete.
keyboard-resume-workaround.patch is used in drive mode of keyboard
crosscompile.patch is to avoid to seach "/etc/X11/fontpath.d" of host during configuring of cross-compiling It is no use in the version.

enable-xcalibrate.patch is to avoid error of compiling tslib. No use in the new version. nodolt.patch is no use too.

other patches are retained.

---
  .../xorg-xserver/xserver-kdrive_1.11.1.902.bb      |   37 ++++++++++++++++++++
  1 files changed, 37 insertions(+), 0 deletions(-)

create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb

meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.11.1.902.bb new file +37 -0
new file mode 100644
index 0000000..3980057
@@ -0,0 +1,37 @@
+require xserver-kdrive.inc
+
+DEPENDS += "libxkbfile libxcalibrate font-util pixman"
+
+RDEPENDS_${PN} += "xkeyboard-config"
+
+EXTRA_OECONF += "--disable-glx --enable-unit-tests=no --enable-kdrive-evdev=yes"
+
+PE = "1"
+PR = "r0"
+
+LIC_FILES_CHKSUM  = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00"
+
+SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
+          file://extra-kmodes.patch \
+		  file://disable-apm.patch \
+		  file://no-serial-probing.patch \
+		  file://keyboard-resume-workaround.patch \
+		  file://hide-cursor-and-ppm-root.patch \
+		  file://fbdev_xrandr_ioctl.patch \
+		  file://fix-newer-xorg-headers.patch"
+							
+#file://keyboard-resume-workaround.patch
+#file://enable-xcalibrate.patch
+#file://crosscompile.patch
+#file://nodolt.patch
+#file://kdrive-evdev.patch
+#file://kdrive-use-evdev.patch
+#file://enable-builtin-fonts.patch
+#file://optional-xkb.patch
+
+SRC_URI[md5sum] = "87dd7958ace0509f6e4da2908c2ee4fd"
+SRC_URI[sha256sum] = "06cb2dffb8d0182c539b154e412b25b98c75d0052cfb16762e7af0d6bf23ec7b"
+
+
+
+S = "${WORKDIR}/xorg-server-${PV}"
Signature · 7 lines
1.7.0.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core